package cn.joeg.app.web.core.vo;

import com.ecfront.dew.common.Resp;
import com.fasterxml.jackson.databind.JsonNode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("Widget请求")
public class WidgetDataReq {

    @ApiModelProperty("widget编号")
    private String widgetCode;
    @ApiModelProperty("widget方法")
    private String widgetMethod;
    @ApiModelProperty("请求参数")
    private JsonNode args;
    @ApiModelProperty("返回结果")
    private Resp<WidgetDataResp> widgetDataResp;

    public String getWidgetCode() {
        return widgetCode;
    }

    public void setWidgetCode(String widgetCode) {
        this.widgetCode = widgetCode;
    }

    public String getWidgetMethod() {
        return widgetMethod;
    }

    public void setWidgetMethod(String widgetMethod) {
        this.widgetMethod = widgetMethod;
    }

    public JsonNode getArgs() {
        return args;
    }

    public void setArgs(JsonNode args) {
        this.args = args;
    }

    public Resp<WidgetDataResp> getWidgetDataResp() {
        return widgetDataResp;
    }

    public void setWidgetDataResp(Resp<WidgetDataResp> widgetDataResp) {
        this.widgetDataResp = widgetDataResp;
    }
}
